<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <base href="/"/>
    <title>系统登录 - 智能超市货品追踪与结账系统</title>
    <link rel="stylesheet" href="css/login.css"/>
</head>

<body>
<div id="login_box">
            <h2>智能超市货品追踪与结账系统</h2>
    <span style="color: red;font-size: 18px " th:text="${error}"></span>
            <form action="/login" method="post">
                <div class="input_box">
                    <input id="username" type="text" name="username" placeholder="请输入用户名" required/>
                </div>
                <div class="input_box">
                    <input id="password" type="password" name="password" placeholder="请输入密码" required/>
                </div>
                <input type="submit" class="button" value="登录" />
            </form>
</div>
</body>
</html>
